import httpRequest from '@/utils/request'

// 获取登录之后的token数值
export const loginAPI = (data) => httpRequest({ url: '/sys/login', method: 'post', data })

// 获取用户的个人信息
export const userInfoAPI = () => httpRequest({ url: '/sys/profile' })

// 修改密码
export const updatePassAPI = (data) => httpRequest({ url: '/sys/user/updatePass', method: 'put', data })
